package com.jluzh.innerContainer;

import com.jluzh.filter.CheckRequestFilter;
import com.jluzh.filter.MyRequestTestFilter;
import com.jluzh.filter.MyResponseTestFilter;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;

/**
 * @author EvanHuang
 * @date 11/5/2018 8:58 AM
 * @since
 */
public class RestApplication extends ResourceConfig{
    public RestApplication() {
        this.packages("com.jluzh");
        this.register(MultiPartFeature.class);
        this.register(MyRequestTestFilter.class).register(MyResponseTestFilter.class);
    }
}
